package com.xigua.chapter_3_template.example;

/**
 * @author LiRongHua
 * @Title: ${file_name}
 * @Package ${package_name}
 * @Description: ${todo}
 * @date 2022/3/2922:28
 */
public abstract class AbstractDisplay {

    public abstract void open();
    public abstract void print();
    public abstract void close();

    public  void display(){
        open();
        for (int i = 0; i < 5; i++) {
            print();
        }
        close();
    }

}
